package cn.tedu.sp02;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class Sp02ItemserviceApplication {

    public static void main(String[] args) {
        SpringApplication.run(Sp02ItemserviceApplication.class, args);
        //System.out.println(getNum(1, 3));
    }
    /**
    private static int getNum(int start, int end) {
        if (start == end) {
            return end;
        }
        return start +getNum(start+1,end);

         *      start       end         getNum
         *      1           3           1+(1+1,3)
         *      2           3           2+(2+1,3)
         *      3           3           3+(3+1,3)
         */

    }


